package com.hskn.hss.module.videofile.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 录像文件
 *
 * @author lny
 * @date 2021-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class VideoFileVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID", name = "id")
    private String id;
    @ApiModelProperty(value = "录像计划ID", name = "videoPlanId")
    private String videoPlanId;
    @ApiModelProperty(value = "序号", name = "no")
    private Integer no;
    @ApiModelProperty(value = "录像大小，单位M", name = "videoSize")
    private Integer videoSize;
    @ApiModelProperty(value = "状态：0录制未开始1录制中2录制完成3已失效", name = "status")
    private String status;
    @ApiModelProperty(value = "文件地址（相对地址）", name = "url")
    private String url;
    @ApiModelProperty(value = "创建人ID", name = "createUserId")
    private String createUserId;
    @ApiModelProperty(value = "创建时间", name = "createTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "删除人ID", name = "deleteUserId")
    private String deleteUserId;
    @ApiModelProperty(value = "删除时间", name = "deleteTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date deleteTime;

    @ApiModelProperty(value = "绑定对象名称", name = "")
    private String bindobjname;
    @ApiModelProperty(value = "通道号", name = "channel")
    private String channel;
    @ApiModelProperty(value = "录制开始时间", name = "recordTime", example = "2021-09-22 12:12:12")
    private Date recordTime;
    @ApiModelProperty(value = "录像开始时间", name = "videoStartTime", example = "12:12:12")
    private Date videoStartTime;
    @ApiModelProperty(value = "录像结束时间", name = "videoEndTime", example = "12:12:12")
    private Date videoEndTime;
    @ApiModelProperty(value = "录像时长", name = "")
    private String videoDuration;
    @ApiModelProperty(value = "设备编码", name = "equipcode")
    private String equipcode;

}
